/*
 * @Author: asushiye
 * @Date: 2021-02-22 14:51:05
 * @Commit: file content
 */
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CodemirrorModule } from '@ctrl/ngx-codemirror';
import { SharedModule } from '@shared';
import { NzCascaderModule } from 'ng-zorro-antd/cascader';
import { NzSpaceModule } from 'ng-zorro-antd/space';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzTransferModule } from 'ng-zorro-antd/transfer';
import { NzTreeModule } from 'ng-zorro-antd/tree';
import { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';

import { CodegenRoutingModule } from './codegen-routing.module';
import { CodemirrorComponent } from './core/codemirror/codemirror.component';
import { DataSourceSelectComponent } from './core/data-source-select/data-source-select.component';
import { CgUploadComponent } from './core/upload/cg-upload.component';
import { CgDataBaseComponent } from './database/databasse/cg-database.component';
import { CgDatasourceComponent } from './database/datasource/cg-datasource.component';
import { CgDatatypeComponent } from './database/datatype/cg-datatype.component';
import { CgDatatypeMappingComponent } from './database/datatype-mapping/cg-datatype-mapping.component';
import { DataplatformIndicatorsDescComponent } from './dataplatform/indicators-desc/dp-indicators-desc.component';
import { DataplatformTermComponent } from './dataplatform/term/dp-term.component';
import { CgExcelComponent } from './excel/cg-excel.component';
import { CgExcelHistoryComponent } from './excel/history/cg-excel-history.component';
import { CgDbScriptLogComponent } from './excel/log/cg-db-script-log.component';
import { GenerateScriptComponent } from './generate/script/generate.script.component';
import { LangDBScriptComponent } from './lang/db-script/lang-db-script.component';
import { LangJpaScriptComponent } from './lang/jpa-script/lang-jpa-script.component';
import { MetaInfoComponent } from './meta/info/meta-info.component';
import { MetaViewComponent } from './meta/view/meta-view.component';
import { MetaWorkspaceEditComponent } from './meta/workspace/edit/edit.component';
import { MetaWorkspaceComponent } from './meta/workspace/workspace.component';

@NgModule({
  declarations: [
    CgUploadComponent,
    CgExcelComponent,
    CgDbScriptLogComponent,
    CgDataBaseComponent,
    CgExcelHistoryComponent,
    CgDatasourceComponent,
    CgDatatypeComponent,
    CgDatatypeMappingComponent,
    GenerateScriptComponent,
    MetaInfoComponent,
    MetaViewComponent,
    MetaWorkspaceComponent,
    MetaWorkspaceEditComponent,
    CodemirrorComponent,
    DataSourceSelectComponent,
    LangDBScriptComponent,
    LangJpaScriptComponent,
    DataplatformIndicatorsDescComponent,
    DataplatformTermComponent
  ],
  imports: [
    FormsModule,
    SharedModule,
    NzCascaderModule,
    CodegenRoutingModule,
    NzTagModule,
    NzTreeModule,
    NzSpaceModule,
    NzTreeSelectModule,
    CodemirrorModule,
    NzTransferModule
  ]
})
export class CodegenModule {}
